package org.jeecg.modules.quality.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.quality.entity.BussUnqualifiedForm;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 不合格处理单
 * @Author: jeecg-boot
 * @Date:   2024-07-10
 * @Version: V1.0
 */
@Data
public class BussUnqualifiedFormVo extends BussUnqualifiedForm {

    @ApiModelProperty(value = "部门名称")
    private String deptName;
    @ApiModelProperty(value = "制单人")
    private String createByName;
    @ApiModelProperty(value = "质检单号")
    private String inspectionCode;
    @ApiModelProperty(value = "入库单号")
    private String storageCode;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "检验日期")
    private Date inspectionDate;
    /**检验员*/
    @Excel(name = "检验员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "检验员")
    private String inspector;
}
